package alimarket

import (
	"context"
	"github.com/gogf/gf/v2/net/ghttp"
)

// 后端验证密钥
const xSecretKey = "dcmF2iepOvCNmPZdCcgIXX2t1ProS52a"

type UserHandlerFunc = func(ctx context.Context, user *UserInfo)
type RouteGroupHandlerFunc = func(group *ghttp.RouterGroup)

type UserInfo struct {
	// API Key5
	ApiKey string `json:"api_key,omitempty"`
	// 渠道
	Channel string `json:"channel,omitempty"`
	// 备注
	Remark string `json:"remark,omitempty"`

	RequestId string `json:"request_id,omitempty"`
}
